package com.teacher.regex;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class RegexTest {
    public static void main(String[] args) {
        Pattern pattern = Pattern.compile(".*runoob.*");
        String s = "from runoob.com.";
        Matcher matcher = pattern.matcher(s);
        System.out.println(matcher);
    }
}
